package com.yang.moyu.meta.framework.service;

import com.yang.moyu.meta.framework.domain.SysOperationLog;
import com.yang.moyu.meta.framework.mapper.SysOperationLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Create by 10296 on 2021/12/16
 *
 * @Description: 操作日志记录
 */
@Service
public class SysOperationLogServiceImpl implements SysOperationLogService {

    @Autowired
    private SysOperationLogMapper sysOperationLogMapper;

    @Override
    public int saveSysOperationLog(SysOperationLog sysOperationLog) throws Exception {
        return sysOperationLogMapper.saveSysOperationLog(sysOperationLog);
//        return true;
    }

    @Override
    public boolean updateSysOperationLog(Map<String, Object> sysOperationLog) throws Exception {
        return false;
    }

    @Override
    public boolean deleteSysOperationLog(Long id) throws Exception {
        return false;
    }

    @Override
    public Map<String, Object> getSysOperationLogPageList(Map<String, Object> paramsMap) throws Exception {
        return null;
    }
}
